

using Mengsk.ProxyDelivery.Domain;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Mengsk.ProxyDelivery.Service
{
    public class SellerMoneyService : ServiceBase<SellerMoney>
    {
        public DataCollection<SellerMoney> GetByAll(int sellerId, float startMoney, float endMoney, int pageIndex, int pageSize)
        {
            Request req = new Request { Api = "getByAll" };

            req.Add("sellerId", sellerId);
            req.Add("startMoney", startMoney);
            req.Add("endMoney", endMoney);
            req.Add("pageIndex", pageIndex);
            req.Add("pageSize", pageSize);

            return this.DoRemoteCall<SellerMoney>(req).ToDataCollection();
        }
    }
}
